package com.xrx.webtemplate.web.service.dao;

import com.xrx.webtemplate.common.ShiroUser;
import com.xrx.webtemplate.pojo.UserPojo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * Created by xierongxian on 2017/4/23.
 */
public interface UserDao {

    ShiroUser checkLogin(Map<String,String> parmMap);

    /**
     * 根据用户id查询用户角色
     * */
    List<Map<String,String>> searchUserRole(Map<String,String> parmMap);

    /**
     * 根据角色id查询权限菜单
     * */
    List<Map<String,String>> searchMenu(Map<String,String> parmMap);
}
